<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>file_stdio</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../index.html" title="Chapter&#160;1.&#160;Boost.Beast">
<link rel="up" href="../ref.html" title="This Page Intentionally Left Blank 2/2">
<link rel="prev" href="boost__beast__file_posix/file_posix_dtor_.html" title="file_posix::~file_posix">
<link rel="next" href="boost__beast__file_stdio/close.html" title="file_stdio::close">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="boost__beast__file_posix/file_posix_dtor_.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="boost__beast__file_stdio/close.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="beast.ref.boost__beast__file_stdio"></a><a class="link" href="boost__beast__file_stdio.html" title="file_stdio">file_stdio</a>
</h4></div></div></div>
<p>
        An implementation of File which uses cstdio.
      </p>
<h5>
<a name="beast.ref.boost__beast__file_stdio.h0"></a>
        <span class="phrase"><a name="beast.ref.boost__beast__file_stdio.synopsis"></a></span><a class="link" href="boost__beast__file_stdio.html#beast.ref.boost__beast__file_stdio.synopsis">Synopsis</a>
      </h5>
<p>
        Defined in header <code class="literal">&lt;<a href="../../../../../../boost/beast/core/file_stdio.hpp" target="_top">boost/beast/core/file_stdio.hpp</a>&gt;</code>
      </p>
<pre class="programlisting"><span class="keyword">class</span> <span class="identifier">file_stdio</span>
</pre>
<h5>
<a name="beast.ref.boost__beast__file_stdio.h1"></a>
        <span class="phrase"><a name="beast.ref.boost__beast__file_stdio.types"></a></span><a class="link" href="boost__beast__file_stdio.html#beast.ref.boost__beast__file_stdio.types">Types</a>
      </h5>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
</colgroup>
<thead><tr>
<th>
                <p>
                  Name
                </p>
              </th>
<th>
                <p>
                  Description
                </p>
              </th>
</tr></thead>
<tbody><tr>
<td>
                <p>
                  <a class="link" href="boost__beast__file_stdio/native_handle_type.html" title="file_stdio::native_handle_type"><span class="bold"><strong>native_handle_type</strong></span></a>
                </p>
              </td>
<td>
                <p>
                  The type of the underlying file handle.
                </p>
              </td>
</tr></tbody>
</table></div>
<h5>
<a name="beast.ref.boost__beast__file_stdio.h2"></a>
        <span class="phrase"><a name="beast.ref.boost__beast__file_stdio.member_functions"></a></span><a class="link" href="boost__beast__file_stdio.html#beast.ref.boost__beast__file_stdio.member_functions">Member
        Functions</a>
      </h5>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
</colgroup>
<thead><tr>
<th>
                <p>
                  Name
                </p>
              </th>
<th>
                <p>
                  Description
                </p>
              </th>
</tr></thead>
<tbody>
<tr>
<td>
                <p>
                  <a class="link" href="boost__beast__file_stdio/close.html" title="file_stdio::close"><span class="bold"><strong>close</strong></span></a>
                </p>
              </td>
<td>
                <p>
                  Close the file if open.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <a class="link" href="boost__beast__file_stdio/file_stdio.html" title="file_stdio::file_stdio"><span class="bold"><strong>file_stdio</strong></span></a>
                </p>
              </td>
<td>
                <p>
                  Constructor.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <a class="link" href="boost__beast__file_stdio/is_open.html" title="file_stdio::is_open"><span class="bold"><strong>is_open</strong></span></a>
                </p>
              </td>
<td>
                <p>
                  Returns true if the file is open.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <a class="link" href="boost__beast__file_stdio/native_handle.html" title="file_stdio::native_handle"><span class="bold"><strong>native_handle</strong></span></a>
                </p>
              </td>
<td>
                <p>
                  Returns the native handle associated with the file.
                </p>
                <p>
                  Set the native handle associated with the file.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <a class="link" href="boost__beast__file_stdio/open.html" title="file_stdio::open"><span class="bold"><strong>open</strong></span></a>
                </p>
              </td>
<td>
                <p>
                  Open a file at the given path with the specified mode.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <a class="link" href="boost__beast__file_stdio/operator_eq_.html" title="file_stdio::operator="><span class="bold"><strong>operator=</strong></span></a>
                </p>
              </td>
<td>
                <p>
                  Assignment.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <a class="link" href="boost__beast__file_stdio/pos.html" title="file_stdio::pos"><span class="bold"><strong>pos</strong></span></a>
                </p>
              </td>
<td>
                <p>
                  Return the current position in the open file.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <a class="link" href="boost__beast__file_stdio/read.html" title="file_stdio::read"><span class="bold"><strong>read</strong></span></a>
                </p>
              </td>
<td>
                <p>
                  Read from the open file.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <a class="link" href="boost__beast__file_stdio/seek.html" title="file_stdio::seek"><span class="bold"><strong>seek</strong></span></a>
                </p>
              </td>
<td>
                <p>
                  Adjust the current position in the open file.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <a class="link" href="boost__beast__file_stdio/size.html" title="file_stdio::size"><span class="bold"><strong>size</strong></span></a>
                </p>
              </td>
<td>
                <p>
                  Return the size of the open file.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <a class="link" href="boost__beast__file_stdio/write.html" title="file_stdio::write"><span class="bold"><strong>write</strong></span></a>
                </p>
              </td>
<td>
                <p>
                  Write to the open file.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <a class="link" href="boost__beast__file_stdio/file_stdio_dtor_.html" title="file_stdio::~file_stdio"><span class="bold"><strong>~file_stdio</strong></span></a>
                </p>
              </td>
<td>
                <p>
                  Destructor.
                </p>
              </td>
</tr>
</tbody>
</table></div>
<h5>
<a name="beast.ref.boost__beast__file_stdio.h3"></a>
        <span class="phrase"><a name="beast.ref.boost__beast__file_stdio.description"></a></span><a class="link" href="boost__beast__file_stdio.html#beast.ref.boost__beast__file_stdio.description">Description</a>
      </h5>
<p>
        This class implements a file using the interfaces present in the C++ Standard
        Library, in <code class="computeroutput"><span class="special">&lt;</span><span class="identifier">stdio</span><span class="special">&gt;</span></code>.
      </p>
<p>
        Convenience header <code class="literal">&lt;<a href="../../../../../../boost/beast/core.hpp" target="_top">boost/beast/core.hpp</a>&gt;</code>
      </p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2016, 2017 Vinnie Falco<p>
        Distributed under the Boost Software License, Version 1.0. (See accompanying
        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
      </p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="boost__beast__file_posix/file_posix_dtor_.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="boost__beast__file_stdio/close.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
